package com.pet.article.feign;

import com.pet.model.behavior.pojos.ApUnlikesBehavior;
import com.pet.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "pet-behavior",path = "/api/unlikesBehavior",contextId = "apUnlikesBehavior")
public interface ApUnlikesBehaviorFeign {
    /**
     * 查询不喜欢行为记录
     */
    @GetMapping("getUnlikeBehavior")
    public ResponseResult<ApUnlikesBehavior> getUnlikeBehavior(@RequestParam("entryId") Integer entryId, @RequestParam("articleId") Long articleId );
}
